import request from "/@/utils/request"

export function GetMessages(obj?: Object) {
    return request({
        url: '/wms/message/GetMessages',
        method: 'post',
        data: obj
    })
}
export function GetMessageReceiver(obj?: Object) {
    return request({
        url: '/wms/message/GetMessageReceiver',
        method: 'post',
        data: obj
    })
}
export function GetMessageModules() {
    return request({
        url: '/wms/message/GetMessageModules',
        method: 'get'
    })
}
export function GetMessageType(obj?: Object) {
    return request({
        url: '/wms/message/GetMessageType',
        method: 'post',
        data: obj
    })
}
export function GetReceivers(obj?: Object) {
    return request({
        url: '/wms/message/GetReceivers',
        method: 'post',
        data: obj
    })
}
export function DeleteReceiverById(obj?: Object) {
    return request({
        url: '/wms/message/DeleteReceiverById',
        method: 'post',
        data: obj
    })
}
export function AddReceiver(obj?: Object) {
    return request({
        url: '/wms/message/AddReceiver',
        method: 'post',
        data: obj
    })
}